<template>
  <div class="dividends hideScrollBar">
     <!-- 导航 -->
     <NavBar :title="t('dividends.pageTitle')" isFixed />
    <!-- 内容部分 -->
    <div class="header">
      <div class="header-left">
        <p class="title">{{ $t("dividends.text1") }}</p>
        <p class="supplyCon">{{ $t("dividends.text2") }}</p>
      </div>
      <div class="header-right">
        <img src="/image/dividends/header-bg.png" alt="">
      </div>
    
      <div class="content">
        <div class="group1">
          <p class="describe">{{ $t("dividends.text3") }}</p>
          <p class="describe">
            {{ $t("dividends.text4") }}
          </p>
        </div>
        <p class="title">{{ $t("dividends.text5") }}</p>
        <div class="group2">
          <p class="group-title">
            <span class="icon">1</span>
            <span>{{ $t("dividends.text6") }}</span>
          </p>
          <ol>
            <li class="describe">{{ $t("dividends.text7") }}</li>
            <li class="describe">{{ $t("dividends.text8") }}</li>
            <li class="describe">{{ $t("dividends.text9") }}</li>
          </ol>
          <div class="steps">
            <div class="steps-item">
              <img src="/image/dividends/tep-01.svg" alt="">
            </div>
            <div class="point"></div>
            <div class="steps-item">
              <img src="/image/dividends/tep-02.svg" alt="">
            </div>
            <div class="point"></div>
            <div class="steps-item">
              <img src="/image/dividends/tep-03.svg" alt="">
            </div>
            <div class="point"></div>
            <div class="steps-item">
              <img src="/image/dividends/tep-04.svg" alt="">
            </div>
          </div>
          <div class="step-text">
            <span>{{ $t("dividends.text10") }}</span>
            <span>{{ $t("dividends.text11") }}</span>
            <span>{{ $t("dividends.text12") }}</span>
            <span>{{ $t("dividends.text13") }}</span>
          </div>
          
        </div>
        <div class="group3">
          <p class="group-title">
            <span class="icon">2</span>
            <span>{{ $t("dividends.text14") }}</span>
          </p>
          <div>
            <p class="describe">{{ $t("dividends.text15") }}</p>
            <p class="describe">{{ $t("dividends.text16") }}</p>
            <p class="describe tips-title">{{ $t("dividends.text17") }}</p>
            <div class="tipList">
              <ol>
                <li >{{ $t("dividends.text18") }}</li>
                <li >{{ $t("dividends.text19") }}</li>
                <li >{{ $t("dividends.text20") }}</li>
              </ol>
              <p>{{ $t("dividends.text21") }}</p>
            </div>
            <p class="describe">{{ $t("dividends.text22") }}</p>
          </div>
          <div class="formula">
            <div class="formula-left">
              <div class="top">
                <div class="params">
                  <p class="per">80%</p>
                  <p class="desc">{{ $t("dividends.text23") }}</p>
                </div>
                <div class="operator">+</div>
                <div class="params">
                  <p class="per">20%</p>
                  <p class="desc">{{ $t("dividends.text24") }}</p>
                </div>
              </div>
            
              <!-- <hr> -->
              <p class="denominator">2</p>
              
            </div>
            <div class="formula-right">
              <span class="operator">=</span>
              <span class="result">{{ $t("dividends.text25") }}</span>
            </div>
          </div>
          
        </div>
        <div class="group4">
          <p class="describe">{{ $t("dividends.text26") }}</p>
        </div>
      </div>
    </div>
  </div>
</template>
<script setup>
const { t } = useI18n();
</script>
<style lang="scss" scoped>
.dividends{
  background-image: linear-gradient(45deg,#fff,#eef6ff 100%);
  height: 100vh;
  overflow-y: scroll;
  .navStyle{
    margin-top: 94px;
  }
  .header{
    display: flex;
    justify-content: space-between;
    padding: 40px 50px ;
    position: relative;
    .header-left{
      width: 70%;
      font-size: 48px;
      .title{
        color:  #002853;
        font-size: 48px;
        line-height: 60px;
      }
      .supplyCon{
        color:  #007BFF;
        font-weight: 700;
        line-height: 60px;
      }
    }
    .header-right{
      width: 260px;
      height: 260px;
      overflow: hidden;
      img{
        width: 100%;
        margin-top: 40px;
      }
    }
  
    .content{
      padding: 0 30px;
      position: absolute;
      top: 280px;
      left: 0;
      .group1{
        background: linear-gradient(248deg, #FFF 0%, #ECF5FF 100%);
        border-radius: 24px;
        padding: 30px;
        margin-bottom: 40px;
        border: 1px solid var(--Brand-Blue, #007BFF);
        p:first-child{
          margin-bottom: 40px;
        }
      }

      .group2{
        background: #fff;
        border-radius: 24px;
        padding: 30px;
        margin-top: 20px;
        border: 1px solid var(--Brand-Blue, #007BFF);
        ol{
          list-style: normal;
          margin-left:40px;
        }
        .steps{
          display: flex;
          justify-content: center;
          align-items: center;
          margin: 30px 0 10px 0;
          .steps-item{
            width: 100px;
            height: 100px;
            img{
              width: 100%;
            }
          }
          
          .point{
            width: 0;
            height: 0;
            border-top: 10px solid transparent;  
            border-left: 18px solid #007BFF;  
            border-bottom: 10px solid transparent; 
            margin-left: 30px;
            margin-right: 20px;
          }
        }
        .step-text{
          display: flex;
          justify-content: center;
          align-items: center;
          span{
            display: inline-block;
            width: 25%;
            text-align: center;
            color: var(--Brand-Blue, #007BFF);
            font-size: 22px;
            font-weight: 590;
            &:first-child{
              width: 20%
            }
            &:nth-child(2){
              width: 30%
            }
          }
        }
      }
      .group3{
        background: #fff;
        border-radius: 24px;
        padding: 30px;
        margin-top: 20px;
        border: 1px solid var(--Brand-Blue, #007BFF);
        .tips-title{
          margin: 10px 0;
        }
        .tipList{
          font-style: italic;
          color: var(--Brand-Blue, #007BFF);
          font-size: 22px;
          line-height: 34px; 
          font-weight: 590;
          margin-bottom: 10px;
          ol{
            list-style: normal;
            margin-left:30px;
          }
        }
        .formula{
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-top: 36px;
          .top{
            display: flex;
            justify-content: center;
            align-items: center;
            padding-bottom: 20px;
            border-bottom: 2px solid #000;
            .params{
              width: 160px;
              height: 88px;
              border-radius: 6px;
              border: 1px solid var(--Brand-Blue, #007BFF);
              background: var(--White, #FFF);
              text-align: center;
            }
          }
          .denominator{
            text-align: center;
            margin-top: 20px;
          }
          .formula-right{
            display: flex;
            justify-content: center;
            align-items: center;
            .result{
              color: var(--Brand-Blue, #007BFF);
              font-size: 26px;
              font-weight: 590;
              line-height: 36px;
              text-align: center;
            }
          }
          
        }
      }
      .group4{
        margin-top: 20px;
        padding-bottom: 100px;
      }
    }
  }
}
.group-title{
  font-size: 30px;
  font-weight: 590;
  color:  #007BFF;
  line-height: 40px; 
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  .icon{
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: #007BFF;
    color: #fff;
    font-size: 15px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
  }
}
.title{
  color:  #141924;
  font-weight: 590;
  line-height: 40px;
  font-size: 30px;
}
.describe{
  color:  #141924;
  font-size: 26px;
  font-weight: 400;
  line-height: 36px;
  font-weight: 400;
}
.operator{
  font-size: 32px;
  font-weight: bold;
  color:  #141924;
  margin: 0 10px;
}
.per{
  color:  #007BFF;
  font-size: 34px;
  font-weight: 590;
  line-height: 44px;
}
.desc{
  color: #797C83;
  font-weight: 400;
  font-size: 22px;
}

</style>